#pragma once

#include "State.h"
#include "GameData.h"

#include <string>
#include <iostream>
#include <set>
using namespace std;

class State;

class Frame {
    private:
        State *theCurrentState;
        bool theRunStatus;
		set<State*> theStateSet;
		GameData theGameData;
    public:
        Frame();
        void start();
        void stop();
		void insertState(State *aState);
        void changeState(State &aState);
        void print(const string &aString);
		GameData& getGame();
};

